@{
    ViewData["Title"] = "访问被拒绝";
}

<div class="container py-5">
    <div class="row justify-content-center">
        <div class="col-md-8 text-center">
            <div class="card shadow-sm">
                <div class="card-body p-5">
                    <i class="fas fa-lock fa-4x text-danger mb-4"></i>
                    <h2 class="mb-4">访问被拒绝</h2>
                    <p class="text-muted mb-4">抱歉，您没有权限访问此页面。这可能是因为：</p>
                    <ul class="text-muted text-start mb-4">
                        <li>您没有提供正确的访问令牌</li>
                        <li>您不是该问卷的创建者</li>
                        <li>该问卷已被设置为私密</li>
                    </ul>
                    <div class="d-flex justify-content-center gap-3">
                        <a href="javascript:history.back()" class="btn btn-outline-secondary">
                            <i class="fas fa-arrow-left me-2"></i>返回上一页
                        </a>
                        <a asp-controller="Home" asp-action="Index" class="btn btn-primary">
                            <i class="fas fa-home me-2"></i>返回首页
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div> 